
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>ExtJS Portal</title>
    <script type="text/javascript" src="extjs/ext-all-dev.js"></script>
    <link rel="stylesheet" href="extjs/resources/css/ext-all.css" />
</head>
<body>
<script type="text/javascript">
    Ext.onReady(function() {
        Ext.create('Ext.container.Viewport', {
            layout: 'column',
            items: [
                {
                    xtype: 'panel',
                    title: '${title}',
                    html: '${content}',
                    draggable: true,
                    collapsible: true,
                    columnWidth: 0.3,
                    tools: [
                        {
                            tooltip:'Help',
                            type: 'help',
                            handler: function() {
                                window.location.search = "portletID=myportal.WelcomePortlet&action=help";
                            }
                        }
                    ]
                }
            ]
        })
    })
</script>
</body>
</html>